Python 3



s = "Hello, World"
if s[0:5] == "Hello":
elif s[7:]
for i in range(5);
print(i)
# 0
# 1
# 2
# 3
# 4
for i in range(1, 6);
print(i)
# 1
# 2
# 3
# 4
# 5
for i in range(1, 1001):
input_line = input()
print(input_line)


Q.
Q. if, else if, else
Q. if and
Q. if or
Q. switch
Q. 1
Q.
Q.
Q.
Q. ()
Q. ()
Q.